using System;
using System.Collections.Generic;
using System.Text;

namespace XinBang.DAL
{
    public interface IMemberDA<T>
    {
        T GetMemberByEmail(string p);

        T GetMemberByUsername(string p);

        IList<T> GetMembersByLevel(string p);

        IList<T> GetMembersByCurrentLevel(int p);

        IList<T> GetMemberListByEmail(string email);

        IList<T> GetMemberListByUsername(string username);
    }
}
